<?php

namespace App\Models\Search;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Casts\Attribute;
use Illuminate\Database\Eloquent\Model;

use App\Models\User\Users;

class Search extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'search';
    protected $guarded = [];

    public function user(){
        return $this->hasOne(Users::class, 'id', 'uid');
    }
}
